home *** CD-ROM | disk | FTP | other *** search
Wrap
<html> <head> <script language="JavaScript"> <!-- Hide the script from old browsers -- //====================================================== // Java Script code by Java Script It! www.computan.on.ca/~todd/JavaScriptIt! //====================================================== function comboLinksA (form,targ) { url=document.comboA.combo.options[document.comboA.combo.selectedIndex].value if (targ=="Self") location.href=url; else { parent.location.href=url; } } //----------------> </script> <title>Combo Links</title> </head> <body bgColor="#FFFFFF" text="000000"> <div align=center><font size=6 font="Arial"><b>Combo Links</b></font></div><p> Below is an example of what the Combo Links application can do. Note that you configure one combo box at a time but you can place any amount of combo boxes (can be created at different times) on a given document.<p> <b>Some Links For You...</b><br> <form name="comboA"><select name="combo"><option SELECTED value="alert.htm">Alert Dialogue Boxes<option value="animat.htm">Animation<option value="confirm.htm">Confirm Dialogue Boxes</select><input type=button value="Click to Go!" onClick="comboLinksA('this.form','Self')"></form><p> <b>Browser Compatibility</b><br> ò Works fully in Netscape Navigator 2.01and higher<br> ò Works fully in Microsoft Internet Explorer 3.0 and higher<br> ò No errors should occur in old browsers but the corresponding button might appear as a text box<br> ò Old browsers will also display a URL not found dialogue box when hyperlink is clicked </body> </html>